<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
<?php echo pc_base::load_sys_class('format');?>


<!--遮幕层start-->
<div id="loading">	
	<div style='position:absolute;	cursor1:wait;top:200px;width:auto;height:30px;padding:12px 5px 10px 50px;
background:#fff url(statics/images/my/loading.gif) no-repeat scroll 5px 10px;border:2px solid #ccc;color:#000;margin-left: auto;margin-right: auto';>	
	正在加载，请等待...
</div>	
</div>
<!--遮幕层end-->



<div class="main">
<div id="layout-main" class="easyui-layout main-layout">  
	

	
 <div id="west" data-options="region:'west',title:'',split:false,border:true" style="width:360px;">
	<div id="l1" class="box"  style="border:0px;padding-bottom: 0px;">
   	  <h5 class="title-2">
	  <img style="padding-right:2px;" src="<?php echo APP_PATH;?>statics/easyui/themes/icons/icon-standard/16x16/report.png"  alt=""/>
	       电子期刊
	  <a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=65" class="more">更多>></a></h5>
          <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=5976a90e88b279497d76295ab5488a9a&action=lists&catid=65&order=inputtime+DESC&num=2\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'65','order'=>'inputtime DESC','limit'=>'2',));}?> 
		  <ul> <?php $n=1; if(is_array($data)) foreach($data AS $key => $val) { ?>
		  <li class="listnews">
		   <a  href="<?php echo $val['url'];?>"><?php echo $val['title'];?></a>
		    <?php if(date(time()) -$val['inputtime']<3600*24*7) { ?>         
				 <img src="<?php echo IMG_PATH;?>/new.gif"  alt="最近7天之内"/>
              <?php } ?>	
		  </li> 
		 
       <?php $n++;}unset($n); ?></ul>
        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>  
		
		    <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=907359f78cef48ce6a0a28db776a117d&action=lists&catid=77&order=inputtime+DESC&num=2\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'77','order'=>'inputtime DESC','limit'=>'2',));}?> 
			  <ul> <?php $n=1; if(is_array($data)) foreach($data AS $key => $val) { ?>
			    <li class="listnews">
			       <a  href="<?php echo $val['url'];?>"><?php echo $val['title'];?></a>
								        <?php if(date(time()) -$val['inputtime']<3600*24*7) { ?>
	                   <img src="<?php echo IMG_PATH;?>/new.gif"  alt="最近7天之内"/>	  
<?php } ?>	
			    </li> 
                <?php $n++;}unset($n); ?></ul> 
            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
  <!--     <div class="bk15 hr"></div> -->
	        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=e181509c7bbb7c674f8cf8adec88a661&action=lists&catid=66&order=inputtime+DESC&num=2\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'66','order'=>'inputtime DESC','limit'=>'2',));}?> 
			  <ul> <?php $n=1; if(is_array($data)) foreach($data AS $key => $val) { ?>
			    <li class="listnews">
			       <a  href="<?php echo $val['url'];?>"><?php echo $val['title'];?></a>
								        <?php if(date(time()) -$val['inputtime']<3600*24*7) { ?>
	                   <img src="<?php echo IMG_PATH;?>/new.gif"  alt="最近7天之内"/>	  
<?php } ?>	
			    </li> 
                <?php $n++;}unset($n); ?></ul> 
            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>  
      </div>		
		<div class="bk10"></div> 

		
	<div  id="l2" class="box" style="border:0px;padding-bottom: 0px;">
   	  <h5 class="title-2" style="margin-bottom: 10px;border-top: 1px solid #dce7f3;">
	   <img style="padding-right:2px;" src="<?php echo APP_PATH;?>statics/easyui/themes/icons/icon-standard/16x16/date.png"  alt=""/>食堂供应
			<a href="#" style="float:right;" id="months" class="easyui-splitbutton more" data-options="menu:'#mm1',iconCls:'icon-standard-calendar'">
			   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=a1f90b9d99fc8183ef8fe254dd85a7e8&action=lists&catid=64&order=datee+DESC&num=1&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'64','order'=>'datee DESC','moreinfo'=>'1','limit'=>'1',));}?>  
			      <?php $n=1; if(is_array($data)) foreach($data AS $key => $val) { ?>
				      <?php echo date('m月d日',strtotime($val['datee']));?>（ <?php echo format::week(strtotime($val['datee']));?>）
				  <?php $n++;}unset($n); ?>
				<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
			</a>
		 <div id="mm1" style="width:155px;">
			<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=7e7dbd6293b892a4bb0fd31a55714c87&action=lists&catid=64&order=datee+DESC&num=9&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'64','order'=>'datee DESC','moreinfo'=>'1','limit'=>'9',));}?>  
				  <?php $n=1; if(is_array($data)) foreach($data AS $key => $val) { ?> 
					  <div onclick="showfood(<?php echo strtotime($val['datee']);?>)"> <?php echo date('m月d日',strtotime($val['datee']));?>（ <?php echo format::week(strtotime($val['datee']));?>）</div>	 
			       <?php $n++;}unset($n); ?>
			<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 
		</div>  
	  </h5>
   
   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=a1f90b9d99fc8183ef8fe254dd85a7e8&action=lists&catid=64&order=datee+DESC&num=1&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'64','order'=>'datee DESC','moreinfo'=>'1','limit'=>'1',));}?>  
		  <ul> 		 
		  <?php $n=1; if(is_array($data)) foreach($data AS $key => $val) { ?> 
		  

        <div style="padding-left:10px;">
		<div class="foodt">    <img src="<?php echo APP_PATH;?>statics/easyui/themes/icons/icon-standard/16x16/cup.png"  alt=""/>主食：</div>
		
		<div class="food" id="main"><?php echo trim($val['mainfood']);?>
	
		
		</div>
		<div class="foodt">     <img src="<?php echo APP_PATH;?>statics/easyui/themes/icons/icon-standard/16x16/emoticon-tongue.png"  alt=""/>副食：</div>
		
	   <div class="food" id="sfood"><?php echo trim($val['sfood']);?></div>
	   	<div class="foodt">     <img src="<?php echo APP_PATH;?>statics/easyui/themes/icons/icon-standard/16x16/lightbulb.png"  alt=""/>注意：</div>
		
	   <div class="food" id="nfood"><?php echo trim($val['zhuyi']);?></div>

	 <div class="bk10"></div> 
	 	  <div class="bk15 hr"></div>
		  
	
	   
	           
	<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=17b023b57167b77eea37adb4a1eb031c&action=lists&catid=68&num=1&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 1;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'68','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, $urlrule);$data = $content_tag->lists(array('catid'=>'68','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
 
<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
	
	  <a style="float:right" target="_blank" href="<?php echo $r['url'];?>"  class="easyui-linkbutton" data-options="plain:'false'">本周食谱>></a> 
<?php $n++;}unset($n); ?>
  
     
<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>

	   <a id="link" style="float:left" target="_blank" href="<?php echo $val['url'];?>" class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:'false'">查看</a> 
	   
	   
	   
  </div>

		  
		  
		 
       <?php $n++;}unset($n); ?>



	   </ul> <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 


         
      </div>
	
		<div   class="box" style="border:0px;">
   	  <h5 class="title-2" style="margin-bottom: 10px;border-top: 1px solid #dce7f3;">
	   <img style="padding-right:2px;" src="<?php echo APP_PATH;?>statics/easyui/themes/icons/icon-standard/16x16/weather-cloudy.png"  alt=""/>澡堂开放
	  
	   
	        	<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=4623c04eb26e445e3662079895bf64a0&action=lists&catid=71&num=1&order=id+DESC&page=%24page\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$pagesize = 1;$page = intval($page) ? intval($page) : 1;if($page<=0){$page=1;}$offset = ($page - 1) * $pagesize;$content_total = $content_tag->count(array('catid'=>'71','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));$pages = pages($content_total, $page, $pagesize, $urlrule);$data = $content_tag->lists(array('catid'=>'71','order'=>'id DESC','limit'=>$offset.",".$pagesize,'action'=>'lists',));}?>
 
<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
 <span style="font-size:12px;">(<?php echo $r['title'];?>)</span></h5>
 	  <div style="font-size:12px;padding-left:30px;color: #0657AB;">
	时间：<?php echo $r['smallWorkDay'];?>
	  </div>
	   <div style="font-size:12px;padding-left:30px;color: #0657AB;">
	<?php echo $r['bigWorkDay'];?>
	  </div>


	  
<?php $n++;}unset($n); ?>
  
     
<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
	  
	  </div>
	
	</div>  
    <div id="center" data-options="region:'center',title:'',border:false" style="padding-left:5px;">
	<div id="righttab" class="easyui-tabs" data-options="fit:true">  
    <div id="fff" title="最新动态" style="padding-left:20px;padding-right:20px;padding-top:10px;padding-bottom:10px;"  data-options="fit:true,iconCls:'icon-standard-new'">

     
 <ul  class="list lh24 f14">
	   <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=b8c9485e5dad3e0fddaf23b1ecbca3ce&sql=SELECT+%2A+FROM+%60v9_news%60+where+catid+not+in%2839%2C68%29+Order+by+id+DESC+&num=16\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("SELECT * FROM `v9_news` where catid not in(39,68) Order by id DESC  LIMIT 16");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?> 
       <?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
        <li class="lll">
        		
        		
        		
        	<a style="" href="<?php echo $r['url'];?>" target="_blank" title="<?php echo $r['title'];?>"<?php echo title_style($v[style]);?>><?php echo str_cut(strip_tags($r[title]),100);?></a>
        	<span style="color:#83939B;font-size: 15px;">(<?php echo date('m-d',$r[inputtime]);?>阅<?php echo get_views('c-'.$CATEGORYS[$r[catid]][modelid].'-'.$r['id']);?>次)</span>
		
											 <?php if(date(time()) -$r['inputtime']<3600*24*3) { ?>
<img class="newtag" src="<?php echo IMG_PATH;?>/new.gif"  alt="最近3天之内"/>

<?php } ?>
		<?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=9a36459d81fb7324b5c066e71d8f1668&sql=SELECT+%2A+FROM+%60v9_category%60++WHERE+arrparentid+LIKE+0+AND+find_in_set%28%24r%5Bcatid%5D%2C+arrchildid%29\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("SELECT * FROM `v9_category`  WHERE arrparentid LIKE 0 AND find_in_set($r[catid], arrchildid) LIMIT 20");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?> 
       <?php $n=1;if(is_array($data)) foreach($data AS $ra) { ?>
	   <a  href="<?php echo $ra['url'];?>" target="_blank">[<?php echo $ra['catname'];?>]   </a>  
	 
        <?php $n++;}unset($n); ?>

<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 
		
	
        </li>
          <?php $n++;}unset($n); ?>

<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?> 

  </ul>




 <div style="position:absolute;bottom:5px;right:5px;">
	<a style="float:right;padding-right:10px;" href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=69" class="easyui-linkbutton" data-options="iconCls:'icon-standard-control-fastforward-blue',plain:'true'" target="_blank">更多</a>
</div> 
    </div>  

	
	
	     <?php $n=1;if(is_array(subcat(0,0,0,$siteid))) foreach(subcat(0,0,0,$siteid) AS $r) { ?>
           <?php if($r['catid']==61|| $r['catid']==7 || $r['catid']==67 ) continue;?>
        <?php $num++?>
   	<!--这是通过循环得到的tab组 ---start-->
      <div title="<?php echo $r['catname'];?>" data-options="" style="overflow:auto;padding:20px;">  
	
         <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=ef41dd2190feee94486d0264e7354ef2&action=lists&catid=%24r%5Bcatid%5D&order=updatetime+DESC&thumb=1&num=1&return=info\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$info = $content_tag->lists(array('catid'=>$r[catid],'order'=>'updatetime DESC','thumb'=>'1','limit'=>'1',));}?>

             <?php $n=1;if(is_array($info)) foreach($info AS $v) { ?>
             	<p>
				
				<a href="<?php echo $v['url'];?>" target="_blank">
				
             		<img src="<?php echo thumb(str_replace('http://172.16.6.66:8080/syb/statics/js/ueditor/dialogs/attachment/fileTypeImages/',"http://172.16.6.66:8080/syb/statics/js/ueditor/dialogs/attachment/fileTypeImages/f",$v[thumb]),90,0);?>" width="90" height="60"/>
					</a>
                    <strong><a href="<?php echo $v['url'];?>" target="_blank" title="<?php echo $v['title'];?>"<?php echo title_style($v[style]);?>><?php echo str_cut($v['title'],100);?></a></strong><br /><p style="text-indent: 2em;padding-top:4px;"><?php echo str_cut($v['description'],150);?></p>
                </p>
              <?php $n++;}unset($n); ?>
                 <div class="bk15 hr"></div>
              <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>                
             
                <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=d9a5a0d61f080dbce4b2774d783edd34&action=lists&catid=%24r%5Bcatid%5D&num=5&order=id+DESC&return=info\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$info = $content_tag->lists(array('catid'=>$r[catid],'order'=>'id DESC','limit'=>'5',));}?>

                <ul class="list lh24 f14">
                <?php $n=1;if(is_array($info)) foreach($info AS $v) { ?>
				
                	<li class="rtt">

					
					<a href="<?php echo $v['url'];?>" target="_blank" title="<?php echo $v['title'];?>"<?php echo title_style($v[style]);?>><?php echo str_cut($v['title'],100);?></a><span style="color:#83939B;font-size: 15px;">(<?php echo date('m-d',$v[inputtime]);?>  阅<?php echo get_views('c-'.$CATEGORYS[$r[catid]][modelid].'-'.$v['id']);?>次)</span>
									 <?php if(date(time()) -$v['inputtime']<3600*24*3) { ?>
<img class="newtag" src="<?php echo IMG_PATH;?>/new.gif"  alt="最近3天之内"/>

<?php } ?>
					</li>
					
					
					
                <?php $n++;}unset($n); ?>
                </ul>
 <div style="position:absolute;bottom:5px;right:5px;">
	<a style="float:right;padding-right:10px;" href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=<?php echo $r['catid'];?>" class="easyui-linkbutton" data-options="iconCls:'icon-standard-control-fastforward-blue',plain:'true'" target="_blank">更多</a>
</div> 

                <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
				
				
				
    </div>  

		<?php $n++;}unset($n); ?>
	<!--这是通过循环得到的tab组 ---end-->
	
	  <div title="资料下载" data-options="" style="overflow:auto;padding:20px;">  
	<li class="cat_title" style="margin: 5px 0 15px 0px;">
	 	<span class="scroll_top">○</span>
	 	<a class="cat_title_link">图片资料</a>
	</li>

	 
	 <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=c3fc64dda9b430652910bb5b54606707&action=lists&catid=38&num=6&order=id+DESC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'38','order'=>'id DESC','limit'=>'6',));}?>
<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
<!--<a href="<?php echo $r['url'];?>" target="_blank"<?php echo title_style($r[style]);?>><?php echo $r['title'];?></a> <span><?php echo date('Y-m-d H:i:s',$r[inputtime]);?></span>
<?php if($n%10 ==0) { ?><li class="bk20 hr"></li><?php } ?>-->

	
<li class="rtt">
					
					<a href="<?php echo $r['url'];?>" target="_blank" title="<?php echo $r['title'];?>"<?php echo title_style($r[style]);?>><?php echo str_cut($r['title'],100);?></a><!--(<?php echo date('m-d',$r[inputtime]);?>  阅：<?php echo get_views('c-'.$CATEGORYS[$r[catid]][modelid].'-'.$r['id']);?>)-->
									 <?php if(date(time()) -$r['inputtime']<3600*24*3) { ?>
<img src="<?php echo IMG_PATH;?>/new.gif"  alt="最近3天之内"/>

<?php } ?>
					</li>


<?php $n++;}unset($n); ?>
<?php echo $pages;?>
<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
 
	 
	 
 	<li class="cat_title" style="margin: 5px 0 15px 0px;">
	 	<span class="scroll_top">○</span>
	 	<a class="cat_title_link">表格资料</a>
	 </li>
	 
	 <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=37f263a8f4d3b6e09ef46578e15b565a&action=lists&catid=37&num=6&order=id+DESC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'37','order'=>'id DESC','limit'=>'6',));}?>
<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
<!--<a href="<?php echo $r['url'];?>" target="_blank"<?php echo title_style($r[style]);?>><?php echo $r['title'];?></a> <span><?php echo date('Y-m-d H:i:s',$r[inputtime]);?></span>
<?php if($n%10 ==0) { ?><li class="bk20 hr"></li><?php } ?>-->

	<li class="rtt">

					
					<a href="<?php echo $r['url'];?>" target="_blank" title="<?php echo $r['title'];?>"<?php echo title_style($r[style]);?>><?php echo str_cut($r['title'],100);?></a><!--(<?php echo date('m-d',$r[inputtime]);?>  阅：<?php echo get_views('c-'.$CATEGORYS[$r[catid]][modelid].'-'.$r['id']);?>)-->
									 <?php if(date(time()) -$r['inputtime']<3600*24*3) { ?>
<img src="<?php echo IMG_PATH;?>/new.gif"  alt="最近3天之内"/>

<?php } ?>
					</li>


<?php $n++;}unset($n); ?>
<?php echo $pages;?>
<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>

	 
	<li class="cat_title" style="margin: 5px 0 15px 0px;">
	 	<span class="scroll_top">○</span>
	 	<a class="cat_title_link">常用软件</a>
	 </li>
	 <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=f58d377a2df10ad949321871cce92588&action=lists&catid=36&num=6&order=id+DESC\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'36','order'=>'id DESC','limit'=>'6',));}?>
<?php $n=1;if(is_array($data)) foreach($data AS $r) { ?>
<!--<a href="<?php echo $r['url'];?>" target="_blank"<?php echo title_style($r[style]);?>><?php echo $r['title'];?></a> <span><?php echo date('Y-m-d H:i:s',$r[inputtime]);?></span>
<?php if($n%10 ==0) { ?><li class="bk20 hr"></li><?php } ?>-->

	<li class="rtt">

					
					<a href="<?php echo $r['url'];?>" target="_blank" title="<?php echo $r['title'];?>"<?php echo title_style($r[style]);?>><?php echo str_cut($r['title'],100);?></a><!--(<?php echo date('m-d',$r[inputtime]);?>  阅：<?php echo get_views('c-'.$CATEGORYS[$r[catid]][modelid].'-'.$r['id']);?>)-->
									 <?php if(date(time()) -$r['inputtime']<3600*24*3) { ?>
<img src="<?php echo IMG_PATH;?>/new.gif"  alt="最近3天之内"/>

<?php } ?>
					</li>


<?php $n++;}unset($n); ?>
<?php echo $pages;?>
<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>

	 <div style="position:absolute;bottom:5px;right:5px;">
	<a style="float:right;padding-right:10px;" href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=7" class="easyui-linkbutton" data-options="iconCls:'icon-standard-control-fastforward-blue',plain:'true'" target="_blank">更多</a>
</div> 
      </div>
</div> 
	
	</div>  
	 
</div> 
 
    <div class="bk10"></div> 
 
	 <div id="pic" class="box" style="margin-bottom: 0px;padding-bottom:10px;">
<h5 style="margin-bottom: 0px;">
	<img src="<?php echo APP_PATH;?>statics/easyui/themes/icons/icon-standard/16x16/photos.png"  alt=""/>
	图片新闻
	<!--  <a href="<?php echo APP_PATH;?>index.php?m=content&c=index&a=lists&catid=67" class="more">
	  
	  更多>></a> -->
	</h5>
<div class=blk_29>
<div class=LeftBotton id=LeftArr></div>
<div class=Cont id=ISL_Cont_1><!-- 图片列表 begin -->


	  	 <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=ce269d98f7d3b94ca26432c313a2b9a2&action=lists&catid=67&order=id+DESC&num=14&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'67','order'=>'id DESC','moreinfo'=>'1','limit'=>'14',));}?> 


             <?php $n=1; if(is_array($data)) foreach($data AS $key => $r) { ?>
			 <div class=box style="border:0px;padding-bottom:0px;">
			   <A class=imgBorder href="<?php echo $r['url'];?>" target=_blank>
			   <IMG src="<?php echo thumb($r[thumb],110,0);?>" title="<?php echo $r['title'];?>" style="width:124px;height:84px;">
</A>
<p class="list" style="font-size:13px"><?php echo str_cut($r[title],20);?></p>
               </div>
        
                <?php $n++;}unset($n); ?>
            

            <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>




<!-- 图片列表 end --></div>

<div class=RightBotton id=RightArr></div></div>


</div>

    <div class="bk10"></div> 
    
  
     
    

 
	<div class="box blogroll ylink">
    	<h5><a href="<?php echo APP_PATH;?>index.php?m=link&siteid=<?php echo $siteid;?>" hidefocus="true" class="rt">更多>></a>友情链接<a href="<?php echo APP_PATH;?>index.php?m=link&c=index&a=register&siteid=<?php echo $siteid;?>" class="red">申请链接</a></h5>
        <div class="bk10"></div>
	<ul class="colli imgul">
        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=e2d9ba74017f930ca0e6e540ce5c908a&action=type_list&siteid=%24siteid&linktype=1&order=listorder+DESC&num=9&return=pic_link\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$pic_link = $link_tag->type_list(array('siteid'=>$siteid,'linktype'=>'1','order'=>'listorder DESC','limit'=>'9',));}?>
        <?php $n=1;if(is_array($pic_link)) foreach($pic_link AS $v) { ?>
        <li><a href="<?php echo $v['url'];?>" title="<?php echo $v['name'];?>" target="_blank"><img src="<?php echo $v['logo'];?>" width="88" height="31" /></a></li>
        <?php $n++;}unset($n); ?>
        <?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
    </ul>
     <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"link\" data=\"op=link&tag_md5=99c32cd273c57223c20074bf5196e97a&action=type_list&siteid=%24siteid&order=listorder+DESC&num=10&return=dat\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$link_tag = pc_base::load_app_class("link_tag", "link");if (method_exists($link_tag, 'type_list')) {$dat = $link_tag->type_list(array('siteid'=>$siteid,'order'=>'listorder DESC','limit'=>'10',));}?>
     <div class="bk10"></div>
	<div class="linka">
		<?php $n=1;if(is_array($dat)) foreach($dat AS $v) { ?>
              <?php if($type==0) { ?>
              <a href="<?php echo $v['url'];?>" target="_blank"><?php echo $v['name'];?></a> |
              <?php } else { ?>
              <a href="<?php echo $v['url'];?>" target="_blank"><img src="<?php echo $v['logo'];?>" width="88" height="31" style="border: 1px solid #FFBE7A;"></a> 
              <?php } ?>
		<?php $n++;}unset($n); ?>
 	</div>
	<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
</div>

</div>
<script type="text/javascript"> 

$(document).ready(function(){
	
repl();/*交换部门和文章信息位置*/


});

/*
 * @description 交换部门和标题
 */
function repl(){	
	$('.lll').each(function() {

$(this).find('a:last-child').insertBefore($(this).find('a:first-child'));

});
}



//当浏览器窗口大小改变时，刷新
window.onresize = function() {
	//window.location.reload();
	resizeM();
}


/**
 * @description 调整窗口大小
 */
function resizeM() {

	//layout宽度变化
    var w=$(window).width();
    
    $("#layout-main").width(w*0.9);
	$('#layout-main').layout('resize');
	
	//更改滚动图片宽度
	$("#ISL_Cont_1").width(w*0.9)-200;

    
  

}
scrollP();
/**
 * @description ❀图片显示
 */
function scrollP(){
	
	/*图片滚动*/
		var w=$(window).width()-200;
		var scrollPic_02 = new ScrollPic();
		scrollPic_02.scrollContId   = "ISL_Cont_1"; //内容容器ID
		scrollPic_02.arrLeftId      = "LeftArr";//左箭头ID
		scrollPic_02.arrRightId     = "RightArr"; //右箭头ID

		scrollPic_02.frameWidth     = w;//显示框宽度
		scrollPic_02.pageWidth      = 152; //翻页宽度

		scrollPic_02.speed          = 10; //移动速度(单位毫秒，越小越快)
		scrollPic_02.space          = 10; //每次移动像素(单位px，越大越快)
		scrollPic_02.autoPlay       = true; //自动播放
		scrollPic_02.autoPlayTime   = 3; //自动播放间隔时间(秒)

		scrollPic_02.initialize(); //初始化
							
}

		

/*
 * @description 显示当天食谱
 */	
function showfood(d){


	 <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"content\" data=\"op=content&tag_md5=ed565281682629db42ef0e0aab217f4c&action=lists&catid=64&order=id+DESC&num=9&moreinfo=1\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}$content_tag = pc_base::load_app_class("content_tag", "content");if (method_exists($content_tag, 'lists')) {$data = $content_tag->lists(array('catid'=>'64','order'=>'id DESC','moreinfo'=>'1','limit'=>'9',));}?>  
	 
		  <?php $n=1; if(is_array($data)) foreach($data AS $key => $val) { ?> 
		
		  if(<?php echo strtotime($val['datee']);?>==d){
      
			$("#main").html("<?php echo str_replace(array("\r\n", "\r", "\n"), "", $val['mainfood']);?> ");
		
			$("#sfood").html("<?php echo str_replace(array("\r\n", "\r", "\n"), "", $val['sfood']);?> ");
			$("#nfood").html("<?php echo str_replace(array("\r\n", "\r", "\n"), "", $val['zhuyi']);?> ");
			
			$('#months').splitbutton({text:"<?php echo date('m月d日',strtotime($val['datee']));?>（ <?php echo format::week(strtotime($val['datee']));?>）"}); 
	        $('#link').attr("href","<?php echo $val['url'];?>");
			resizeM();
			
	}


		  
		  
		 
       <?php $n++;}unset($n); ?>


<?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>  
	

}


/*
 * @description 显示当天食谱
 */	
function show(){   
    $("#loading").fadeOut("normal", function(){   
        $(this).remove();   
    });   
}       
var delayTime;   
$.parser.onComplete = function(){   
    if(delayTime)    
        clearTimeout(delayTime);   
        delayTime = setTimeout(show,500);   
    }
  /*遮罩--end*/

</script>

<?php include template("content","footer"); ?>